package com.ruoyi.quartz.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 文章对象 sys_spider_article
 * 
 * @author ruoyi
 * @date 2021-01-03
 */
public class SysSpiderArticle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 简介 */
    @Excel(name = "简介")
    private String des;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 状态 文章状态：0:未完成、1:文章下载完成、2:资源准备完成、3:资源上传完成 */
    @Excel(name = "状态 文章状态：0:未完成、1:文章下载完成、2:资源准备完成、3:资源上传完成")
    private String state;

    /** 封面图 */
    @Excel(name = "封面图")
    private String img;

    /** 小建议 */
    @Excel(name = "小建议")
    private String proposal;

    /** 专家提醒 */
    @Excel(name = "专家提醒")
    private String remind;

    /** 是否删除 0：未删除、1：已删除 */
    private Integer delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setDes(String des) 
    {
        this.des = des;
    }

    public String getDes() 
    {
        return des;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setProposal(String proposal) 
    {
        this.proposal = proposal;
    }

    public String getProposal() 
    {
        return proposal;
    }
    public void setRemind(String remind) 
    {
        this.remind = remind;
    }

    public String getRemind() 
    {
        return remind;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("des", getDes())
            .append("author", getAuthor())
            .append("state", getState())
            .append("img", getImg())
            .append("proposal", getProposal())
            .append("remind", getRemind())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
